
const floora={
    props:['dingdanps'],
      template:`
      <div class="floor-one">
     <a href="#" @click='noworderclick'>当前订单</a>
     <a href="#" @click='guadanclick'>挂单中</a>
     <a href="#" @click='fukuanclick'>已付款</a>
     <a href="#" @click='quxiaoclick'>取消的订单</a>
     <div class="mystyle" :style="{left:dingdanps+'px'}"></div>
   </div>
      `,
      methods:{
       noworderclick(){
       this.$emit('noworderclick-com',)
     },
     guadanclick(){
       this.$emit('guadanclick-com',)
     },
     fukuanclick(){
       this.$emit('fukuanclick-com',)
     },
     quxiaoclick(){
       this.$emit('quxiaoclick-com',)
     }
      }
  }
  export {floora}